package com.kkwrite.regimen.provider.service.login;

import com.kkwrite.regimen.common.entity.dto.login.ChangePasswordInDTO;
import com.kkwrite.regimen.common.entity.dto.login.CheckPasswordInDTO;
import com.kkwrite.regimen.common.entity.dto.login.ShopLoginInDTO;

/**
 * Created by lisha on 2018/8/16 14:27.
 *
 * @author lisha
 */
public interface LoginService {
    /**
     * 店铺登录校验
     * @param inDTO 入参
     * @return token string
     */
    String shopLogin(ShopLoginInDTO inDTO);
    
    /**
     *验证密码
     *@param  password
     *
     */
    String checkPassword(CheckPasswordInDTO inDto);
    
    /**
     *验证密码
     *@param  password
     *
     */
    String changePassword(ChangePasswordInDTO inDto);
}
